<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/amazeui.min.css"/>
		<link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/hy.admin.css"/>
	</head>
	<body>
		<div class="am-g">
			 {include file='../Common/hy_header.html'}
			 	
      <div class="am-u-md-6 am-cf">
        <div class="am-fl am-cf">
          <div class="am-btn-toolbar am-fl">
            <div class="am-btn-group am-btn-group-xs">
              <button data-id="addwxkey" data-href="index.php?g=admin&m=wxkey&a=add_key" type="button" class="am-btn am-btn-default hy-js-href"><span class="am-icon-plus"></span> 新关键字</button>
              <button  type="button" class="am-btn am-btn-default hy-js-delall"><span class="am-icon-trash-o"></span> 删除</button>
            </div>

            <div class="am-form-group am-margin-left am-fl">
             
            </div>
          </div>
        </div>
      </div>
      <div class="am-u-md-3 am-cf">
        <div class="am-fr">
          <div class="am-input-group am-input-group-sm">
            <input value="{$_GET['k']}"  type="text" class="am-form-field hy-js-search">
                <span class="am-input-group-btn">
                  <button class="am-btn am-btn-default hy-js-searchbtn" type="button">搜索</button>
                </span>
          </div>
        </div>
      </div>
      
      <div class="am-g">
      <div class="am-u-sm-12">
        <div class="am-form">
          <table class="am-table am-table-striped am-table-hover hy-table-main">
            <thead>
              <tr>
                <th class="table-check"><input class="hy-js-selectall" type="checkbox" /></th>
                <th class="table-id">ID</th>
                <th class="table-title">关键字</th>
                <th class="table-set">操作</th>
              </tr>
          </thead>
          <tbody>
          	 {foreach from=$art_list item=art}
            <tr>
              <td><input class="hy-js-id" type="checkbox" value="{$art.id}"/></td>
              <td>{$art.id}</td>
              <td><a href="#">{$art.keyword}</a></td>
              <td>
                <div class="am-btn-toolbar">
                  <div class="am-btn-group am-btn-group-xs">
                    <button data-id="editwxkey_{$art.id}" data-title="{$art.keyword}" data-href="index.php?g=admin&m=wxkey&a=edit_key&id={$art.id}" class="am-btn am-btn-default am-btn-xs am-text-secondary hy-js-href"><span class="am-icon-pencil-square-o"></span> 编辑</button>
                    <button data-param ="{ url:'index.php?g=admin&m=wxkey&a=del&id={$art.id}',hide:4}" class="am-btn am-btn-default am-btn-xs am-text-danger hy-js-del"><span class="am-icon-trash-o"></span> 删除</button>
                  </div>
                </div>
              </td>
            </tr>
             {/foreach} 
          </tbody>
        </table>
          <div class="am-cf">

  <div class="am-fr">
  {$art_page}
  </div>
</div>
          <hr />
      
        </div>
      </div>

    </div>
    </div>
   {include file='../Common/hy_footer.html'}
	</body>
</html>
